<? include_once("../../../common/common_setting_unit.php"); //引入通用的设置文件?>
<? include_once("../controller/unit-quotation-detail.php");

?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <?php include ROOT_PATH_ . '/controller/common/module/head.php'; ?>
    <?php include 'module/head.php'; ?>
    <link href="../asset/css/style.css" rel="stylesheet" type="text/css"/>

</head>

<body>

<div id="topbar">   <?php include ROOT_PATH_ . '/controller/common/module/topbar.php'; ?></div>

<div id="container" class="<? echo $system_part ?>">

    <div id="maincontent">

        <div id="sidebar">
            <?php include ROOT_PATH_ . '/controller/common/module/sidebar.php'; ?>
        </div>


        <div id="content" class="layui-form">
            <h1><?echo $detail['name']?> 项目信息</h1>

            <div class="detail-box">

                <ul class="detail-boxing">


                    <div class="content detail-staitics-info">
                        <? include "module/case-overview.php" ?>
                    </div>





                    <div class="layui-tab layui-tab-brief"  >
                        <!-- 计算任务数量 -->
                        <? $task_list =select_lines_all_items($table_Prefix."task","nid desc","case_id ='".$_REQUEST['nid']."' AND (is_del = '0') ","") ;?>
                        <!-- 计算财务项数量 -->
                        <? $case_finance=select_lines_all_items($table_Prefix."finance","nid desc","caseid ='".$_REQUEST['nid']."'","") ;?>

                        <ul class="layui-tab-title">
                            <li class="layui-this">报价信息<?php if($task_list){ ?><span class="layui-badge"><?php echo count($task_list); ?></span><?php } ?></li>
<!--                            <li>设置</li>-->
                        </ul>


                        <div class="layui-tab-content">

                            <div class="layui-tab-item layui-show">
                                <? include "module/case-quotation.php" ?>
                            </div>

<!---->
<!--                            <div class="layui-tab-item">-->
<!--                                --><?php //include "module/mod-setting.php"; ?>
<!--                            </div>-->

                        </div>
                    </div>








            </div>

            <!--content端點01-->
        </div>
        <!--maincontent端點01-->
        <br class="clearfloat"/>
    </div>
    <!--container端點01-->
</div>

<?//js日期控件?>
<script src="../../../common/asset/js/show_iframe.js"></script>
<?php include ROOT_PATH_ . "/controller/common/module/footer.php"; ?> </body>
</html>
